package com.prs.crm.flow;

import java.util.Collection;

import com.prs.crm.domain.FlowEntity;
import com.prs.crm.domain.flow.WorkFlowProcess;
import com.prs.crm.domain.flow.WorkFlowProcessNode;

public interface FlowActionListener<T extends FlowEntity>{
	
	void onProcessEnd(WorkFlowProcess process);
	
	void onNextStep(T entity,Collection<WorkFlowProcessNode> nodes);
}
